package com.example.vue20220402.pojo;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author rock
 * @since 2022-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_info")
public class Usersinfo extends MyPage  implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id" ,type = IdType.AUTO)
    private Integer id;

    private String username;

    private String pwd;

    private String createtime;

    private Integer stats;

    private Integer roleId;

    @TableField(exist = false)// 表示这个字段不是user表里的
    private String roleName;

    private String imgsrc;

}
